Skip to content

Conversation

@kjetilhole
Copy link
Contributor

@kjetilhole kjetilhole commented Jan 8, 2026

This closes #12592 and #13483

Added the "Set Alt" button for Assets fields when "Show filename" is disabled and UI mode is set to grid.
I removed the checkerboard background to make it easier to see the blue-colored button.
The icon buttons have also been reduced from 'sm' -> 'xs' to make space for the button

Alt-text has been changed from 'blue' -> 'sky' in Assets grid view to maintain consistency.

Before
Skjermbilde 2026-01-08 kl  21 58 17

After
Skjermbilde 2026-01-08 kl  21 52 00

@ebeauchamps
Copy link
Contributor

ebeauchamps commented Jan 8, 2026

Isn't removing the checkerboard background not a problem with png images as this was just corrected in #13469 ?

@JayGeorge
Copy link

Hi @kjetilhole, thanks for this PR, very much appreciated!

I just had a chat with the team and we think it would be better to always expose "Set Alt", without needing to hover over every image. Missing alt text is like a red flag for SEO and accessibility, so editors should want to see it sticking out for any images with missing alt.

I've shifted the alt text and added it to your PR so it looks like this now

2026-01-12 at 11 37 44@2x

@jasonvarga jasonvarga merged commit 7f1da2b into statamic:master Jan 12, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[6.x] "Set Alt" badges have different colours in list and grid view [6.x] Show "Set Alt" is handled differently in list and grid view

4 participants